﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="QueryUnprocessRDLC.aspx.cs" Inherits="Ewts.RDLC.QueryUnprocessRDLC" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
    $(document).ready(function () {
        $.datepicker.regional['zh-CN'] = {
            clearText: '清除',
            clearStatus: '清除已选日期',
            closeText: '关闭',
            closeStatus: '不改变当前选择',
            prevText: '<上月',
            prevStatus: '显示上月',
            prevBigText: '<<',
            prevBigStatus: '显示上一年',
            nextText: '下月>',
            nextStatus: '显示下月',
            nextBigText: '>>',
            nextBigStatus: '显示下一年',
            currentText: '今天',
            currentStatus: '显示本月',
            monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
            monthNamesShort: ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'],
            monthStatus: '选择月份',
            yearStatus: '选择年份',
            weekHeader: '周',
            weekStatus: '年内周次',
            dayNames: ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'],
            dayNamesShort: ['周日', '周一', '周二', '周三', '周四', '周五', '周六'],
            dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
            dayStatus: '设置 DD 为一周起始',
            dateStatus: '选择 m月 d日, DD',
            dateFormat: 'yy-mm-dd',
            firstDay: 1,
            initStatus: '请选择日期',
            isRTL: false
        };
        $.datepicker.setDefaults($.datepicker.regional['zh-CN']);
        $(".date1, .date2").datepicker({
            "dateFormat": "yy-mm-dd"
        });

        //选中事件
        $(".chkInsCleanMonth").change(function () {
            if ($(this).attr("checked") == "checked") {
                $(".dropYear").removeAttr("disabled");
                $(".dropMonth").removeAttr("disabled");
            }
            else {
                $(".dropYear").attr("disabled", "disabled");
                $(".dropMonth").attr("disabled", "disabled");
            }
        });

        $(".dropYear,.dropMonth").change(function () {
            var s = "";
            s = $(".dropYear").val() + $(".dropMonth").val();
            $(".hidcleanmonth").val(s);
        });
    });

</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div>
    <div>
        <table border="0" cellpadding="0" cellspacing="1">
            <tr><td Width="50">load</td>
                <td><asp:TextBox ID="txtLoadnum" runat="server" Width="100"></asp:TextBox></td>
                <td>客户</td>
                <td><asp:TextBox ID="txtCum" runat="server" Width="100"></asp:TextBox></td>
                <td>入库编号</td>
                <td><asp:TextBox ID="txtInStorageNo" runat="server" Width="100"></asp:TextBox></td>
                <td>物料编码</td>
                <td><asp:TextBox ID="txtGoodsCode" runat="server" Width="100"></asp:TextBox></td>
                <td>入库时间段</td>
                <td>
                    <asp:TextBox ID="txtTime1" runat="server" Width="60" CssClass="date1"></asp:TextBox>
                            &nbsp;<asp:TextBox ID="txtStartHour" runat="server" Width="20px" Text="00"></asp:TextBox>时
                        &nbsp;<asp:TextBox ID="txtStartMinute" runat="server" Width="20px" Text="00"></asp:TextBox>分
                        &nbsp;<asp:TextBox ID="txtStartSecond" runat="server" Width="20px" Text="00"></asp:TextBox>秒
                      
                    到
                    <asp:TextBox ID="txtTime2" runat="server" Width="60" CssClass="date2"></asp:TextBox>
                                &nbsp;<asp:TextBox ID="txtEndHour" runat="server" Width="20px" Text="23"></asp:TextBox>时
                        &nbsp;<asp:TextBox ID="txtEndMinute" runat="server" Width="20px" Text="59"></asp:TextBox>分
                        &nbsp;<asp:TextBox ID="txtEndSecond" runat="server" Width="20px" Text="59"></asp:TextBox>秒
                        &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
           <td> <input id="chkInsCleanMonth" type="checkbox" class="chkInsCleanMonth" />财务结算月：</td>
            <td>
               <asp:DropDownList ID="dropYear" CssClass="dropYear" runat="server">
               
                </asp:DropDownList>
                <asp:DropDownList ID="dropMonth" CssClass="dropMonth" runat="server">
                    <asp:ListItem>01</asp:ListItem>
                    <asp:ListItem>02</asp:ListItem>
                    <asp:ListItem>03</asp:ListItem>
                    <asp:ListItem>04</asp:ListItem>
                    <asp:ListItem>05</asp:ListItem>
                    <asp:ListItem>06</asp:ListItem>
                    <asp:ListItem>07</asp:ListItem>
                    <asp:ListItem>08</asp:ListItem>
                    <asp:ListItem>09</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
               
                </asp:DropDownList> <input type="hidden" value="" id="hidcleanmonth" runat="server" />      </td>                
                <td>废物编码</td>
                <td><asp:TextBox ID="txtrubbishcode" runat="server" Width="100"></asp:TextBox></td>
                <td>联单号</td>
                <td><asp:TextBox ID="txtcontinNo" runat="server" Width="100"></asp:TextBox></td>
                <td>备注:</td>
                <td><asp:TextBox ID="txremark" runat="server" Width="143"></asp:TextBox></td>
                <td>入库方式</td>
                <td>
                    <asp:DropDownList ID="ddlInstorageClassify" runat="server" Width="100">
                        <asp:ListItem Text="临时库入库" Value="-1"></asp:ListItem>
                        <asp:ListItem Text="分类入库" Value="2" ></asp:ListItem>
                        <asp:ListItem Text="拆解入库" Value="1"></asp:ListItem>
                        <asp:ListItem Text="生产入库" Value="3"></asp:ListItem>
                        <asp:ListItem Text="无" Value="0" Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnSearch" runat="server" Width="40" Text="查找" 
                        onclick="btnSearch_Click"  />
                </td>
            </tr>
            
            <tr><td>归属地</td>
                <td> 
                    <asp:DropDownList ID="dropBcity" runat="server" CssClass="dropBcity" >
                        <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <td>处理地</td>
                <td>
                    <asp:DropDownList ID="dropGcity" runat="server" CssClass="dropGcity" >
                        <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                
                </td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
                <td>
                </td>
            </tr>
        </table>
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <rsweb:ReportViewer ID="QueryUnprocessReportView" runat="server" 
        Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(集合)"  WaitMessageFont-Names="Verdana" 
        WaitMessageFont-Size="14pt" Height="297mm" Width="210mm" Visible="False" ZoomMode="FullPage" >
    <LocalReport ReportPath="RDLC\QueryUnprocess.rdlc"></LocalReport>
    </rsweb:ReportViewer>
</div>
</asp:Content>
